package com.jqb.struts2lab01.action;

import com.opensymphony.xwork2.ActionSupport;

public class DynamicAction extends ActionSupport {
	private static final long serialVersionUID = 1L;
	private String msg;

	public String execute() {
		msg = "execute";
		return SUCCESS;
	}

	public String dynamicMethod() {
		msg = "dynamicMethod";
		return SUCCESS;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

}
